package com.component.api.model.flow;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 描述：
 * 节点之间的关系
 * @author xianggj
 * @Date 2021/10/14 17:28
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class RelationInfo implements Serializable {
    private static final long serialVersionUID = -1L;

    /**
     * 唯一id
     */
    private String id;

    /**
     * 来源id
     */
    private String source;

    /**
     * 达到id
     */
    private String target;

    /**
     * 来源端
     */
    private String sourcePort;

    /**
     * 达到端
     */
    private String targetPort;

}
